/**
 * 
 */
package com.ms.game.itembox.container;

import java.util.ArrayList;

import com.ms.game.invitefriend.bin.ItemInfo;
import com.ms.game.itembox.Item;
import com.ms.game.itembox.message.CoinInfo;
import com.ms.player.Player;
import com.ms.service.error.ErrorCode;
import com.ms.service.module.zone.module.BasicZoneModule;
import com.xpec.c4.game.utility.GUID;

/**
 * 禮包
 * 
 * @author TW15010
 */
public class ItemBonusPack extends ItemBasic {
	
	/** 隨機道具列表 */
	private ArrayList<ItemDrawInfo> randomItemList;

	public ArrayList<ItemDrawInfo> getRandomItemList() {
		return randomItemList;
	}

	public void setRandomItemList(ArrayList<ItemDrawInfo> randomItemList) {
		this.randomItemList = randomItemList;
	}

	@Override
	public int use(Player player, Item useItem, int useCount, GUID targetGuid, Object... object) {
		return ErrorCode.SUCCESS;
	}

	/**
	 * 將禮包獲得的項目清單送給 client
	 * 
	 * @param sessionId
	 *            player session id
	 * @param coinList
	 *            金錢清單
	 * @param itemList
	 *            道具清單
	 */
	@Deprecated
	public static void sendReceiveItemFromBonusPack(GUID sessionId, ArrayList<CoinInfo> coinList,
			ArrayList<ItemInfo> itemList) {
	}

	@Override
	public int applyItemToDc(BasicZoneModule zoneModule, Player player, Item useItem, GUID orderId, Object... object) {

		return 0;
	}
}
